package com.lotter.dao;


public interface BaseDao<T> {

	
	int insert(T record);
	
	//主键查询
	T selectByPrimaryKey(Long primaryKey); 
	
	//更新
	int updateByPrimaryKeySelective(T record);
	
	//更新
	int updateByPrimaryKey(T record);
	
	
}
